/**
*  
* @Function 数据催收反馈
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.service.impl    
* @FileName RemindReasonServiceImpl.java    
* @Date 2018年5月11日下午6:16:34
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/
package com.py.credit.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.py.credit.dao.RemindReasonDao;
import com.py.credit.entity.RemindReason;
import com.py.credit.service.RemindReasonService;
import com.py.framework.core.common.Page;

/**
 * 
 * @Function 数据催收反馈
 * @ClassName RemindReasonServiceImpl
 * @Date 2018年5月11日 下午6:16:34
 * @Author Min DongXv
 * 
 */
@Service
public class RemindReasonServiceImpl implements RemindReasonService {

	@Autowired
	private RemindReasonDao remindReasonDao;

	/**
	 *
	 * @Function 新增数据催收反馈
	 * @FileName RemindReasonServiceImpl.java
	 * @MethodName addRemindReason
	 * @param remindReason
	 * @return
	 * @Date 2018年5月11日 下午6:16:52
	 * @Author Min DongXv
	 *
	 */
	@Override
	public int addRemindReason(RemindReason remindReason) {
		return remindReasonDao.addRemindReason(remindReason);
	}

	/**
	 *
	 * @Function 分页查询反馈记录
	 * @FileName RemindReasonServiceImpl.java
	 * @MethodName selectRemindReasonByConditionForPage
	 * @param page
	 * @return
	 * @Date 2018年5月11日 下午6:16:52
	 * @Author Min DongXv
	 *
	 */
	@Override
	public List<Map<String, Object>> selectRemindReasonForPage(Page page, Integer taskId) {
		return remindReasonDao.selectRemindReasonForPage(page, taskId);
	}
}
